<table class="table table-striped">
    <style>
        th{
            width: 14%;
        }
    </style>
    <tbody>
    <tr>

        <th>{:__('Warranty.WorkID')}</th>
        <td>{$row.warranty.workID}</td>
    </tr>
    <tr>

        <th>{:__('Hospital.name')}</th>
        <td>{$row.hospital.name}</td>
    </tr>
    <tr>
        <th>{:__('Warranty.product')}</th>
        <td>{$row.equipment_name}</td>
    </tr>
    <tr>
        <th>{:__('Warranty.device')}</th>
        <td>{$row.equipment_marking}</td>
    </tr>
    <tr>
        <th>{:__('Type_data')}</th>
        <td>{$row.type_data_text}</td>
    </tr>
    <tr>
        <th>{:__('Title')}</th>
        <td>{$row.title}</td>
    </tr>
    <tr>
        <th>{:__('Content')}</th>
        <td>
        {if $row.type_data==1}
            {if !empty($row.content) && count($row.content)>0}
            {foreach name="row.content.substance" item="vo"}
            <p>名称:{$vo.name}</p>
            <p>数量:{$vo.number}<span style="margin-left: 20px">报价:{$vo.money}</span></p>
            <hr>
            {/foreach}
            {/if}
        {else}
            {$row.content}
        {/if}
        </td>
    </tr>
    <tr>
        <th>{:__('Images')}</th>
        <td>
            {if !empty($row.images) && count($row.images)>0}
            <ul class="row list-inline plupload-preview" id="p-billing_images" data-template="introtpl" data-name="row[images]" data-listidx="0">
                {foreach name="row.images" item="vo"}
                <li class="col-xs-3">
                    <a href="{$vo}" data-url="{$vo}" target="_blank" class="thumbnail" data-cursor="pointer" style="cursor: pointer;">
                        <img src="{$vo}" class="img-responsive">
                    </a>
                </li>
                {/foreach}
            </ul>
            {/if}
        </td>
    </tr>
    <tr>
        <th>{:__('Number')}</th>
        <td>{$row.number}</td>
    </tr>
    <tr>
        <th>{:__('Types_data')}</th>
        <td>{$row.types_data_text}</td>
    </tr>
    <tr>

        <th>{:__('User.nickname')}</th>
        <td><img class="mx-auto d-block" src="{$row.user.avatar}" style="max-width: 50px; max-height: 50px;border-radius: 50%;" />
            {$row.user.nickname}</td>
    </tr>
    <tr>

        <th>{:__('Status')}</th>
        <td>{$row.status_text}</td>
    </tr>
    </tbody>
</table>
<div class="hide layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
        <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
    </div>
</div>
